	.cpu cortex-m0
	.arch armv6s-m
	.fpu softvfp
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 1
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"addfunc.c"
	.text
	.global	a
	.data
	.align	2
	.type	a, %object
	.size	a, 4
a:
	.word	5
	.global	b
	.bss
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.space	4
	.text
	.align	1
	.global	addany
	.syntax unified
	.code	16
	.thumb_func
	.type	addany, %function
addany:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r2, [sp, #4]
	ldr	r3, [sp]
	adds	r3, r2, r3
	str	r3, [sp, #12]
	ldr	r3, [sp, #12]
	movs	r0, r3
	add	sp, sp, #16
	@ sp needed
	bx	lr
	.size	addany, .-addany
	.align	1
	.global	main
	.syntax unified
	.code	16
	.thumb_func
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{lr}
	sub	sp, sp, #12
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L4
	ldr	r3, .L8+4
	movs	r2, #0
	str	r2, [r3]
	movs	r3, #1
	str	r3, [sp, #4]
	b	.L5
.L6:
	ldr	r3, .L8+4
	ldr	r3, [r3]
	ldr	r2, [sp, #4]
	movs	r1, r2
	movs	r0, r3
	bl	addany
	movs	r2, r0
	ldr	r3, .L8+4
	str	r2, [r3]
	ldr	r3, [sp, #4]
	adds	r3, r3, #1
	str	r3, [sp, #4]
.L5:
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, [sp, #4]
	cmp	r2, r3
	ble	.L6
.L4:
	movs	r3, #0
	movs	r0, r3
	add	sp, sp, #12
	@ sp needed
	pop	{pc}
.L9:
	.align	2
.L8:
	.word	a
	.word	b
	.size	main, .-main
	.ident	"GCC: (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205"
